a = 1
while a < 10:
    print()
    for i in range(1, 10):
        c = a*i
        print(f"{a}*{i}={c} ", end='')
    a += 1
    continue

# end
print()
print('Hello ', end='')
print('world!')

# 方法2
for i in range(0, 10):
    print()
    for j in range(1, i+1):
        print(f'{j}*{i}={i*j} ', end='')
